﻿// ***********************************************************************
// Project			: Micua
// Assembly         : Micua.IBLL
// Author           : iceStone
// Created          : 2013-11-18 13:09
//
// Last Modified By : iceStone
// Last Modified On : 2014-01-04 20:39
// ***********************************************************************
// <copyright file="IBLLFactory.cs" company="Wedn.Net">
//     Copyright (c) Wedn.Net. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;

namespace Micua.IBLL
{
    /// <summary>
    /// Service Factroy 约束接口
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial  interface  IServiceFactory : IDisposable
    {  
		/// <summary>
        /// ICategoryService 实例接口
        /// </summary>
        /// <value>The Category manager.</value>
		ICategoryService CategoryService { get; }
		/// <summary>
        /// ICommentService 实例接口
        /// </summary>
        /// <value>The Comment manager.</value>
		ICommentService CommentService { get; }
		/// <summary>
        /// ICommentMetaService 实例接口
        /// </summary>
        /// <value>The CommentMeta manager.</value>
		ICommentMetaService CommentMetaService { get; }
		/// <summary>
        /// ILinkService 实例接口
        /// </summary>
        /// <value>The Link manager.</value>
		ILinkService LinkService { get; }
		/// <summary>
        /// IOptionService 实例接口
        /// </summary>
        /// <value>The Option manager.</value>
		IOptionService OptionService { get; }
		/// <summary>
        /// IPostService 实例接口
        /// </summary>
        /// <value>The Post manager.</value>
		IPostService PostService { get; }
		/// <summary>
        /// IPostMetaService 实例接口
        /// </summary>
        /// <value>The PostMeta manager.</value>
		IPostMetaService PostMetaService { get; }
		/// <summary>
        /// ITagService 实例接口
        /// </summary>
        /// <value>The Tag manager.</value>
		ITagService TagService { get; }
		/// <summary>
        /// IUserService 实例接口
        /// </summary>
        /// <value>The User manager.</value>
		IUserService UserService { get; }
		/// <summary>
        /// IUserMetaService 实例接口
        /// </summary>
        /// <value>The UserMeta manager.</value>
		IUserMetaService UserMetaService { get; }
		/// <summary>
        /// 保存数据库的改变状态
        /// </summary>
		/// <remarks>
		///  2013-11-18 20:02 Created By iceStone
		///  2014-01-04 20:39 Modified By iceStone
		/// </remarks>
        /// <returns>受影响行数</returns>
        int DbSaveChanges();
	}	
}